import Vue from 'vue'
import VueRouter from 'vue-router'
import Vuex from 'vuex'
import App from './App'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import { Lazyload } from 'mint-ui';
Vue.use(Lazyload);
Vue.use(MintUI)
Vue.use(VueRouter)
Vue.use(Vuex)

import routes from './router'
const router = new VueRouter({
    routes
})

import $store from './store'

const store = new Vuex.Store($store);

var vue = new Vue({
    router,
    store,
    el: '#app',
    render: h => h(App)
})